package com.backend.aptimgview.mapper;

import java.util.List;
import com.backend.aptimgview.domain.AptimgView;

public interface AptimgViewMapper {
    //查找：
    AptimgView selectAptimgViewByImageApartmentId(Long imageApartmentId);
    AptimgView selectAptimgViewByApartmentId(Long apartmentId);
    public List<AptimgView> selectAptimgViewList(AptimgView aptimgView);
    //查找最大的image_id
    Long queryMaxImageId();

    //新增：
    int insertImageApartment(AptimgView aptimgView);


    //更新：
    int updateImageApartment(AptimgView aptimgView);

    //删除：
    public int deleteAptimgViewByImageApartmentIds(Long[] imageApartmentIds);



}
